For this case we have to:
x: Let the variable representing the number of people to travel in the group
y: Let the variable representing the number of miles traveled.
If friends only have $22 then we have the following inequality:

Now, if there are three people in the group we have that 

The taxi can travel a maximum of 19.33 miles.
On the other hand, if the group wants to travel 10 miles then we have to y = 10.

Thus, they could travel a maximum of 5 people.
ANswer:

Traveling 3 people, the taxi can travel a maximum of 19.33 miles
Traveling 10 miles, a maximum of 5 people can travel
The first thing you do is draw a straight line. It can be any length. Then draw a point above the line. Place the stylus of the compass on the point, and swing the compass down to make two marks on the line. Then, draw marks below the line, by placing the stylus on the points of intersection. Draw a line from where these two meet to the original point.Mark two points on the 2nd line by placing the compass stylus on the original dot, and swinging it down and up. Then, swing the compass from both of these new points of intersection , on either side of the line, to form 2 new points.Connect these 3 points, and now you have 2 parallel lines! The original line and the most recently made are parallel with each other. Hope this helps!