Jack and Jessica earned the same amount last week. They both work for the same hourly rate. Jack worked eighteen hours and had $42 deducted from his pay. Jessica worked fifteen hours and had $18 deducted from her pay. What was each person’s salary last week after deductions?