This is an equation of one variable. To solve this problem we must understand the relation between the angles, here you will see an image:
In this image, you can see that α + γ = β. Therefore, γ = β - α
In this case, we know that α = 24 and β =59. Finally, γ = 59-24 = 35