We are given that Haley travels 223 miles, first at a speed of 16 mph and then at a speed of 53 mph if x is the number of hours driving at 16 mph and y the number of hours traveling at 53 mph, this can be expressed mathematically as:

We are also told that the total number of hours is 7, this can be represented as:

We get a system of two variables and two equations. To solve the system we will solve for "x" in equation (2) by subtracting "y" to both sides:

Replacing the value of "x" in equation (1):

Using the distributive property:

Adding like terms:

Subtracting 112 to both sides:

Dividing by 37 both sides:

Solving the operations:

Replacing the value of "y" in equation (2)

Therefore, she traveled 4 hours at 16 mph and 3 hours at 53 mph