According to question,
In order to find the square root of the given number we will use the long division method.
Hence,
Using long division method,

Therefore, the number that should be subtracted from the given number to make it a perfect square is 9