A ride in a cab costs $0.40 plus $0.15 per mile. a.Write an equation for traveling x miles in the cab.

c = 0.40 + 0.15x