prealgebra
posted by randy on .
IM stuck on a question. PLease help. A teacher is giving candy to his periods. First period gets 1/3 and 2nd period gets 1/4 and 3rd period gets 1/3 and finally 4th period gets 22 pieces. How many pieces did each period get? Im stuck!!

let the number he had be x
x/3 + x/4 + x/3 + 22 = x
times 12
4x + 3x + 4x + 264 = 12x
264 = x
first class  264/3 = 88
2nd class  264/4 = 66
third class  88
fourth class  22