The teacher will be very surprised to see your correct solution 😉
2 8*y2 + 24*y + 8*x*y + 24*x*y = 0
8*x*y^2 + 24*x*y + 24*y + 8*y2 = 0