we know that
total cookies=[tex]7[/tex]
number of persons=[tex]3[/tex] (You and two friends)
divide total cookies by number of persons
[tex] \frac{7}{3} [/tex]
[tex] \frac{7}{3} = \frac{6}{3} + \frac{1}{3} [/tex]
[tex] \frac{6}{3} [/tex] is equal to [tex]2[/tex]
so
[tex] \frac{7}{3} =2 \frac{1}{3} [/tex]
everybody gets 2 whole cookies, and they split the last cookie into [tex] \frac{1}{3} [/tex]
the answer is
[tex]2 \frac{1}{3}[/tex]