we need to simplify
[tex]-0.5+\frac{1}{2}p-2.75+\frac{2}{3}p[/tex]hence, this is equal to
[tex]\frac{1}{2}p+\frac{2}{3}p-2.75-0.5[/tex]by factoriaing p, we have
[tex](\frac{1}{2}+\frac{2}{3})p-(2.75+0.5)[/tex]Since.
[tex]\begin{gathered} \frac{1}{2}+\frac{2}{3}=\frac{3\cdot1+2\cdot2}{6}=\frac{3+4}{6} \\ \frac{1}{2}+\frac{2}{3}=\frac{7}{6} \\ \text{and } \\ 2.75+0.5=3.25 \end{gathered}[/tex]we have that
[tex]-0.5+\frac{1}{2}p-2.75+\frac{2}{3}p=\frac{7}{6}p-3.25[/tex]