i write an equation for the statement
[tex]T=5.50f+6.75[/tex]Where T is the total and f the number of friends, 5.50 the cost per each bowl and 6.75 the pizza for everyone
so replacing the total
[tex]39.75=5.50f+6.75[/tex]now solve f
[tex]\begin{gathered} 5.50f=39.75-6.75 \\ 5.50f=33 \\ f=\frac{33}{5.50} \\ \\ f=6 \end{gathered}[/tex]the number of friends was 6