Multiply each of the fractions by 1 to get them to have the same denominator.
1/4 x 3/3 = 3/12
1/3 x 4/4 = 4/12
New Equation:
3/12a + 4/12a + 8 = 22
now add up similar terms
7/12a + 8 = 22
subtract 8
7/12a = 14
multiply each side by your denominator
12(7/12)a=12(14)
7a=168
divide by 7
a = 24