Carlos and his friends are thinking about taking a cab home. 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 = costs for each friend.