A computer repair service charges 50 for diagnosis and35 per hour for repairs. Write an equation that represents this situation, using y for the cost, and x for the number of hours.