He should have subtracted the discount and added the sales tax
<span>If you have a $460,000 loan at 6% interest for 25 years; payments should be $2,963.79, not $2962.40. At $2,963.79, $2,300 would be interest, $663.79 would be principal. After that first payment your balance would be $459,336.21.
Hope I helped!!</span>
2x-2yd=y+xd
2x-y=xd+2yd
2x-y=d(x+2y)
(2x-y)/(x+2y)=d
So the answer is <span><span>d=<span><span>2x−y</span><span>x+2y</span></span></span></span>