IF function formula problem

Users questions: Such as tables, calculated by kilometers of road fill, greater than 10 km, 30 km or less, 0.5 yuan per kilometer, the Ministry of greater than 30 km per km $ 1, this formula using the IF function how to write it? ? ? Urgent! ! !
Experts answer: If the number of kilometers in cell A1, then the formula is as follows: = I
  • This information provided by the users.Thanks!