Determine whether the lines are parallel, perpendicular or neither.

y=x+7
y=-x+2

To determine whether the lines are parallel, perpendicular, or neither, we need to compare their slopes.

The given lines are in the form y = mx + b, where m represents the slope of the line.

For the first line, y = x + 7, we can see that the slope is 1.

For the second line, y = -x + 2, the slope is -1.

Now, we can compare the slopes:

If the slopes are equal, the lines are parallel.
If the slopes are negative reciprocals of each other (i.e., one slope is the negative reciprocal of the other), the lines are perpendicular.
If the slopes are neither equal nor negative reciprocals, the lines are neither parallel nor perpendicular.

In our case, the slope of the first line is 1, and the slope of the second line is -1. These slopes are negative reciprocals of each other. Therefore, the given lines are perpendicular to each other.