As given by the question
There are given that the point of two-line

Now,
From the condition of a parallel and perpendicular line
If the slopes are equal then the lines are parallel
If the slopes are negative reciprocal then the lines are perpendicular
If the slopes are neither of the above are true then lines are neither
Then,
First, find the slope of both of line
So,
For first-line, from the formula of slope

Now,
For second-line,

The given result of the slope is negative reciprocal because

Hence, the slope of line1 is -1/2, and slope of line2 is 2 and the lines are perpendicular.