Capacity measures the borrower's ability to repay a loan by comparing income against recurring debts and assessing the borrower's debt-to-income (DTI) ratio. Lenders calculate DTI by adding together a borrower's total monthly debt payments and dividing that by the borrower's gross monthly income. The lower an applicant's DTI, the better the chance of qualifying for a new loan. Every lender is different, but many lenders prefer an applicant's DTI to be around 35% or less before approving an application for new financing.
I have used the property of Pythagoras Theorm to get the length of side QP, I have also used the property of inverse function of sin to get the measure of angle Q and the property of sum of angles of triangle to get measure of angle of R