Write a formula that will help them decide how much each friend will have to pay.

Let's let

w = price per mile

x = number of miles traveled

y = number of friends in the cab

z = cost for each friend

Verified Answer :

Okay so since we have all the variables, we can go ahead and make our formula. So our equation would look like z = (w/x) divided by y . This is because z would be the sum of the x miles divided by the cost of each mile (w). And then we would divide what we got in the parenthesis by y (friends).