Let Y be the number of Hamburgers sold and X be the number of Cheeseburgers sold. X + Y = 336 and X=2Y Thus if we plug in for X, we get 2Y + Y=336 so 3Y=336. Now divide both sides by 3 to get Y=112, so 112 Hamburgers sold. If there were 336 burgers sold in total, X + 112 = 336, so X = 224. Thus 224 cheeseburgers were sold and 112 hamburgers were sold.