Hint 1
For these kinds of problems, you need to make some equations. Including the girl, the number of people at the party will be A. Then, if each person gets three chocolates and six are left over, the total number of chocolates can be expressed as 3A + 6.

