We will have the following:
We will have that the line that passes through (4, -1) and is parallel tp y = x +2 will be:
First, we remember that the slope of the perpendicular line is given by:

So:

Now, we replace this information in the general equation of the line:

That is:

This can be seeing as follows: