Benjamin went to McDonald's to buy something for dinner. He bought a salad, a burger, and two packs of fries. He paid in total $15. How much did the burger cost, if one pack of fries was for $2 and the salad was three times that price?
Benjamin paid for the fries 2 * 2 = $<<2*2=4>>4.
The salad was three times the price of one pack of fries, so it cost 3 * 2 = $<<3*2=6>>6.
The cost of the burger was 15 - 6 - 4 = $<<15-6-4=5>>5.
#### 5