Revision notes $1 + 2 + \dots + n = \frac{n(n+1)}{2}$. The line $ax + by = c$ has slope $-\frac{a}{b}$. $\log_2 x = 5 \Rightarrow x = 2^5 = 32$. Practise this topic See it on the atlas