wipro - square of two more than a two digit number is multiplied and divided by 2 and 5 respectively if twice of the result is equal to 500 then find the number - skillgun

Assume the number is x
Two more than x = x + 2
Square of the number = (x + 2)2
Multiplied and divided by 2 and 5 = 2(x + 2)2 / 5
Twice the result is 500 = 2 x 2/5 * (x + 2)2
4/5 * (x + 2)2 = 500
(x + 2)2 = 500 x 5/4
(x + 2)2 = 625
x+ 2 = 25
x = 23