Start with a number subtract 6 by it multiple by 3 add 2 from that quantity square your result the final result is 25

x

x-6
3(x-6)
3(x-6) + 2 = 3x -16

(3x-16)^2 = 25
3x-16 = ±5

3x-16 = 5 ====> x = 7
3x-16 = -5 ====> x = 11/3