Solution:
According to the given question, \[\vartriangle ABC\text{ }\sim\text{ }\vartriangle PQR\]
So,
\[\angle ABC\text{ }=\angle PQR\]
i.e. \[\angle ABD\text{ }=\angle PQM\]
Also, \[\angle ADB\text{ }=\angle PMQ\][Both are right angles]
Hence, \[\vartriangle ABD\text{ }\sim\vartriangle PQM\text{ }by\text{ }AA\]criterion for similarity.
Thus,
\[AB/PQ\text{ }=\text{ }AD/PM\]