I don’t understand how many grams had the first one,so I can’t help you
I believe you may have the order incorrect. If we were looking at g(f(x)) the answer would be 47. We would get this by sticking the 3 in for x in f(x) and solving, which would give us 48. We would then stick that answer in for x in the g(x), giving us 47.
In its current order the answer would be 28.
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
Far left and far right.
Have a gud day!
A variable is a letter, for example x, y or z, that represents an unspecified number.
6 + x = 12
To evaluate an algebraic expression, you have to substitute a number for each variable and perform the arithmetic operations. In the example above, the variable x is equal to 6 since 6 + 6 = 12.