Even though we are using variables, we still know that "difference" means subtraction. So, if the larger is x1 and x2, those variables go first. The smaller, y1 and y2 will go second. So our problem will look like this:
(x1 < x2 ? x2 : x1) - (y1 < y2 ? y1 : y2)
Answer: It will one year (or 12 months) before Michael is able to ride the roller coaster.
Step-by-step explanation: Because he grows a half inch every month, this means that It takes him two months to grow one full inch. Because he has to grow six inches, you just multiply 2 by 6 to get 12 months or one year.
The answer is 13!
Follow PEMDAS (: