On Tuesday, a local hamburger shop sold a combined total of 564 hamburgers and cheeseburgers. The number of cheeseburgers sold was three times the number of hamburgers sold. How many hamburgers were sold on Tuesday?
substitute the second into the first:
use this back into the second equation: