The following family of Runge–Kutta methods is given: $$y_{j+1}=y_j+\frac{h}{2 \alpha}f(t_j, y_j) + h(1- \frac{1}{2 \alpha})f(t_j + \alpha h, y_j + \alpha h f(t_j, y_j))$$
We're asked to find all values of $\alpha$ such that the order of consistency $p$ is 2. For that, with $p=2$, we need to check that
$$\tau_{j+1}= (\dot{y}(t_j)- \Phi(t_j, y(t_j), 0)) + \frac{h}{2}(\ddot{y}(t_j)-2 \dot{\Phi}(t_j, y(t_j), 0)) + O(h^{p=2})\overset{!}{=} O(h^{p=2}) $$ or
$$ (\dot{y}(t_j)- \Phi(t_j, y(t_j), 0)) + \frac{h}{2}(\ddot{y}(t_j)-2 \dot{\Phi}(t_j, y(t_j), 0)) \overset{!}{=} 0$$
(we would go higher if $p > 2$). In our case, to hold, we need $\dot{y}(t_j)= \Phi(t_j, y(t_j), 0)$ and $\ddot{y}(t_j)= 2 \dot{\Phi}(t_j, y(t_j), 0)$