Momina, if we call the cost of the desktop d, then the laptop is d + 350, right?
We are given...
.07d + .06(d + 350) = 398
.07d + .06d + 21 = 398
.13d = 377
d = 2900
Sooo, the desktop price was $2900 and the laptop was 2900 + 350 = $3250.
Hope this helps!