Your friend Jonathan had a total of 36 cookies. He decided to give you 6 and split the rest up amongst him and his other 4 friends. How many cookies does each person get?

(38 -6) / (4+1) = 30/5 = 6