Jason is buying burgers and fries for his family. Each burger costs $6 and each order of fries costs $4. He has a total of $36 to spend.
**a. Write an equation that represents this situation using x to represent the number of burgers purchased and y to represent the number of fries purchased.
** b. If Jason bought 2 burgers, how many fries did he purchase in order to spend all of his money?