click the buttons to add kilometres ------------------------------------------- I made two variables - distance and fare i started on the easy equations first - if <50 and if >2000. Then i started on the harder ones if bigger than 50 smaller than 100 and the bigger than 100 smaller than 2000 for them i wrote the standard fare plus the fare by mile times (the distance minus 50/100 to get the extra miles) Otherwise written: 25 (base fare) + (8(extra fare by mile) * (distance - 50(base distance))