The ratio of the number of cookies baked by Linus to Omar is 8 : 7. After Linus gave away 36 cookies, Omar had twice as many cookies as Linus. How many cookies did they bake altogether?
Linus baked 64 cookies, and Omar baked 56 cookies. Together, they baked 64+56 cookies, or 120 altogether.