This is from IB Standard Level. Students I guess are not allowed to use formulas for $\sin(A+B), \tan(A+B)$, etc.
Students know $\sin(\theta)=b, \cos(\theta)=a, \tan=\sin/\cos, \cos^2+\sin^2=1, |\cos|, |\sin| \le 1$, arc length and area of sector formulas, equations of circles


A point $(x,y) \neq (0,0)$ determines an angle $\theta$ as measured counter-clockwise from the $x$-axis. If $x\neq0$, then we define $$\tan\theta = \frac yx.$$
Therefore, following your picture, we have $$\tan(\theta+\pi) = \frac{-y}{-x} = \frac yx = \tan\theta.$$