L := laptop
D := desktop
before finance, equation 1:
[tex]L=D-300[/tex]Di = 6% = 0.06 (desktop interest per year)
Li = 7% = 0.07 (laptop interest per year)
For one year, the total finance charge is (equation 2):
[tex](L\cdot Li)+(D\cdot Di)=252[/tex]We substitute L (the equation 1) to the equation 2:
[tex]\begin{gathered} \lbrack(D-300)\cdot Li\rbrack+(D\cdot Di)=252 \\ (D\cdot Li)-(300\cdot Li)+(D\cdot Di)=252 \\ 0.07\cdot D+0.06\cdot D=252+(300)\cdot(0.07) \\ 0.13D=273 \\ D=\frac{273}{0.13} \\ D=2100 \end{gathered}[/tex]Then we substitute the value D in equation 1 to find the laptop price:
[tex]L=D-300=2100-300=1800[/tex]Therefore, the laptop and desktop prices are $1800 and $2100, respectively.