Vedic mathematics principles have limitations. The applicability has to be further tested before actual use of the principle and the bounds of its applicability. However in squaring two digit numbers ending with 5. the principle can be used. For example consider a number n 5, where n can take values between 0 and 9 and including them, then
n5 x n5 = n(n+10)25
Because 10 = 1 mod 9, this becomes
n5 x n5 = n(n+1)25
Put any value for n, between 0 and 9. This will work.
If n = 7, 752 = (7 x 8)25 = 5625