No, it ISN'T objectname.instance_destroy(). Don't listen to anyone who says it is.
instance_destroy() by itself affects the object in which it is called, destroying that object. If you want to destroy another object, use WITH to access it.
with(object_you_want_to_destroy) {instance_destroy();}