You can't merge two different classes, instead, you can invite parents from the class to the class you want to keep and delete the other class. 



Steps to invite from class to another, click here