Verified Answer :

we know that
total cookies=\(7\)
number of persons=\(3\)  (You and two friends)

divide total cookies by 
number of persons
\(\frac{7}{3}\)

  
\(\frac{7}{3} = \frac{6}{3} + \frac{1}{3}\)
\(\frac{6}{3}\) is equal to \(2\)
so
\(\frac{7}{3} =2 \frac{1}{3}\)
 everybody gets 2 whole cookies, and they split the last cookie into \(\frac{1}{3}\)

the answer is
\(2 \frac{1}{3}\)