To find the number of miles of Alex's trip, we can set up an equation based on the information given.
- The cost of the trip includes a flat rate of $5 plus $1.50 for every mile driven.
- Let \( x \) represent the number of miles driven.
- The total cost of the trip is given as $41.
The equation to represent the total cost can be set up as follows:
\[ \text{Total Cost} = \text{Flat Rate} + (\text{Cost per Mile} \times \text{Number of Miles}) \] Substituting the values, we have:
\[ 41 = 5 + 1.50x \]
Now, we can solve for \( x \):
- Subtract the flat rate from both sides:
\[ 41 - 5 = 1.50x \]
\[ 36 = 1.50x \]
- Now, divide both sides by 1.50 to solve for \( x \):
\[ x = \frac{36}{1.50} \]
\[ x = 24 \]
So, the number of miles of Alex’s trip is 24 miles.