Last month Maria hiked the 5-mile mountain trail a number of times and she hiked the 10-mile canal trail several times. Let x represent the number of times she hiked the 5-mile trail, and let y represent the number of times she hiked the 10-mile trail. If she hiked a total of 90 miles, which equation can be used to find the number of times Maria hiked each trail?

A. x + y = 90

B. 5x – 10y = 90

C. 90 – 10y = 5x

D. 90 + 10y = 5x