The teacher will be very surprised to see your correct solution 😉
145 - 40*x + 4*x2 + 9*y2 + 54*y = 0
-40*x + 4*x2 + 54*y + 9*y2 + 145 = 0