The sales price is $185,000.
The down payment is 5% of this, that is;

The closing cost is 3% of the sales price, that is;

The remaining cash left to pay is;

This, would be on interest for 30 years;
so, the total loan amount is;

Therefore, the loan amount is $475,000