You have a model $F(x_1,x_2)$ and you need to build the contour plot. So, you have , for a given level $c$, $$F(x_1,x_2)=c$$ which gives an equation of $x_2$ as a function of $x_1$.
Let us consider the first case : it writes $$50+10x_1+7x_2=c$$ so $$x_2=\frac{1}{7} (c-10 x_1-50)$$ and these are parallel straight lines.
For the second case : it writes $$50+10x_1+7x_2+5x_1x_2=c$$ so $$x_2=\frac{c-10 x_1-50}{5 x_1+7}$$ and these are hyperbolas.
For each desired value of $c$, you draw the function $x_2=\phi(x_1)$.