Tammy bought a desktop computer and a laptop computer. Before finance charges, the laptop cost $150 more than the desktop. She paid for the computers using two different financing plans. For the desktop the interest rate was 7% per year, and for the laptop it was 5.5% per year. The total finance charges for one year were $227 . How much did each computer cost before finance charges?