
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
The pricing standard for taxis in a certain city is as follows: 10 yuan for distances within 4km (including 4km), 1.5 yuan per km for the distance over 4km and up to 18km, and 2 yuan per km for the distance beyond 18km.  
(1) Without considering the waiting time cost, establish the function relationship between the taxi fare $y$ (in yuan) and the travel distance $x$ (in km);  
(2) If someone travels 30km by taxi, how much fare does he need to pay?

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