At last year’s Hawaii state championship girls softball game a total of 900 tickets were sold which resulted in a total of $5,100 collected from ticket sales. There were 2 types of tickets sold: Student tickets cost $4 each and adult tickets cost $7 each. If x represents the number of student tickets sold and y represents the number of adult tickets sold, write an equation that represents the total number of tickets sold.