Step 1: Finding slopes of given lines.
Rewriting equations in slope-intercept form:
- The first line has slope \( m_1 = p(p^2 + 1) \).
- The second line has slope \( m_2 = -(p^2 + 1) / (p^2 + 1)^2 \).
Step 2: Condition for perpendicularity.
For the lines to be perpendicular to a common line, \[ m_1 m_2 = -1 \] Solving for \( p \), we find only one valid solution.