The correct option is B A(A+1)
The square of any number ending with '5' can be obtained easily as follows.
If the number is A5, then the end digits of (A5)2 are '25' and the number to the left of '25' is A×(A+1).
For example, the value of 1252 is
(12×13)25⇒15625
Hence, the value of 'X' would be A(A+1).