Kayla tutors a student for $18.50 per hour. She spends $50 on transportation. How much does she earn if she tutors for x hours?