(36 : 3 + 12) : 8 + 7a = 24
(12 + 12) : 8 + 7a = 24
24 : 8 +7a = 24
3 + 7a = 24
7a = 24 - 3
7a = 21
a = 21:7
a = 3