
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
A travel group is formed by 10 people from unit A and $x$ people from unit B to go on a trip to a certain place. Travel agency A's charging standard is: if 12 full-price tickets are purchased, the rest are offered at half price; Travel agency B's charging standard is: the travel group purchases group tickets at 70% of the original price. The original price of each ticket from both travel agencies is 300 yuan.  
(1) Write down the total cost $y$ (in yuan) as a function of $x$ for the travel group purchasing tickets from travel agencies A and B, respectively.  
(2) Which travel agency do you think offers a better deal?

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