
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In a certain city, the taxi fare standard is $10 within $4km$ (including $4km$), $1.5 per kilometer for the portion exceeding $4km$ but not exceeding $18km$, and $2 per kilometer for the portion exceeding $18km$.

1. Establish the functional relationship between the fare $y$ (in yuan) and the mileage $x$ (in km) without considering the waiting time fee.
2. If someone travels $30km$ by taxi, how much should they pay?

Present the answer in LaTex format: \boxed{Your answer}
user