The teacher will be very surprised to see your correct solution 😉
-25 - 2*x - 12 64 - 2*x - 1
-------------- + ------------ = 22
25 9
(-25-2*x-12)/25+(64-2*x-1)/9 = 22
-25/25-2*x/25-12/25+64/9-2*x/9-1/9 = 22
138/25 - 68*x/225 = 22
x = 412/25 / (-68/225)
sum
-927 ----- 17
=
-927 ----- 17
product
-927 ----- 17
=
-927 ----- 17
-927/17