If the ticket costs $7.50, let [tex] p [/tex] be the price of the popcorn.
So, each of the friends spends
[tex] 7.50+p [/tex]
dollars for the ticket and the popcorn.
Now, if the group of friends is composed by [tex] n [/tex] people, they spend altogether
[tex] n(7.50+p) [/tex]
dollars.