\[(p + 3c) \cdot c - (3c + p)(c - p) =\]
\[= cp + 3c^{2} - \left( 3c^{2} - 3cp + cp - p^{2} \right) =\]
\[= \text{cp} + 3c^{2} - 3c^{2} + 3cp - \text{cp} + p^{2} =\]
\[= p^{2} + 3pc.\]