You can put this solution on YOUR website! If the lines are perpendicular, then their slopes are negative reciprocals.
Let's put the two equations into the slope-intercept form: y = mx+b
First equation: Subtract px from both sides of the equation. Add 2 to both sides. Finally, divide both sides by 4. Simplify. Here, the slope is
Second equation: Add y to both sides. or Here, the slope is
The negative reciprocal of 2 is and this should equal the slope of the first equation, , so... Simplify and solve for p. Multiply both sides by -4. Simplify.
Check, are the slopes negative reciprocals? Substitute p = 2. Simplify. ...and this is the negative reciprocal of 2.