In △MPG, ∠P=900, MG=a units and GP=c units.
Using pythagoras theorem, we have
MG2=GP2+MP2⇒a2=c2+MP2⇒MP2=a2−c2......(1)
In △MPN, ∠P=900, MN=b units and PN=d units.
Again using pythagoras theorem, we have
MN2=MP2+PN2⇒b2=MP2+d2⇒MP2=b2−d2......(2)
Equate equations 1 and 2 as follows:
a2−c2=b2−d2⇒a2−b2=c2−d2⇒(a−b)(a+b)=(c−d)(c+d)(∵a2−b2=(a−b)(a+b))
Hence, (a−b)(a+b)=(c−d)(c+d).