I have a function $$f(x,y)=-x^2 -y^2 +4$$
Text:
The figure shows a plane that is parallell to the xz-plane, and goes through the point $(1,1(f,1,1))$
The straight line that is drawn in this plane touches the graph $f$ in the point $(1,1,f(1,1))$

Question: What is the slope of the straight line?
Solution:
Can someone please help me understand?

The line is tangential to the curve in the $xz$-plane that is the intersection between the surface $z=-x^2-y^2+4$ and the vertical plane $y=1$, which can obtained by eliminating the variable $y$, i.e.
$$z=-x^2+3$$
Its slope is then given by $z’=-2x$, which is -2 at $x=1$.