Calculus Examples

Solve by Substitution 3x^2-6y=3y^2-6x=0
I am unable to solve this problem.