Login in to your Amazon account with a pre-created password.
Now search for the option Prime or something else at the top of the customer page.
Now under the Tell us more about your issue option, you will see the Account setting option. Click on it. In this option, there is an option of Close my account.