Ans: $p=\dfrac{3q+7}{2}$
$\begin{array}{rcl}
5p-7 & = & 3(p+q) \\
5p – 7 & = & 3p + 3q \\
5p – 3p & = & 3q + 7 \\
2p & = & 3q + 7 \\
p & = & \dfrac{3q+7}{2}
\end{array}$
$\begin{array}{rcl}
5p-7 & = & 3(p+q) \\
5p – 7 & = & 3p + 3q \\
5p – 3p & = & 3q + 7 \\
2p & = & 3q + 7 \\
p & = & \dfrac{3q+7}{2}
\end{array}$