this is homework And I NEED THE ANSWER ASAP because I get a prize and the whole class if they bring homework.

Answer:
9 marbles
Step-by-step explanation:
He got 47 marbles, after keeping 2 of his marbles, he got 47-2 = 45 marbles left
To divide equally between his 5 friends, each of his friend should get 45 :5 = 9 marbles each
Enjoy your prize :D