
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
To better protect themselves, Jiajia bought $5$ N95 masks and $2$ regular medical masks, while Qiqi bought $2$ N95 masks and $5$ regular medical masks. It is known that the price of each N95 mask is $a$ yuan, and the price of each regular medical mask is $b$ yuan.  
$(1)$ Express the total cost of Jiajia's mask purchase in terms of $a$ and $b$.  
$(2)$ If the price of each N95 mask is $3$ yuan more expensive than the regular medical mask, how much more money did Jiajia spend than Qiqi?

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