Diana can use the equation y = 7x to calculate her pay, where y represents the amount of pay, and x represents the number of hours worked. How many hours did Diana work if she was paid $45.50?