we are given
total number of apples =54
Let's assume each friend receives =x
He kept a apples for himself and gave each of 6 friends an equal number of apples
so, we will get equation as
![6x=54](https://img.qammunity.org/2019/formulas/mathematics/high-school/p3dnc4ofmyixfvhjnorh7uq9j60k771zgt.png)
now, we can solve for x
![x=9](https://img.qammunity.org/2019/formulas/mathematics/middle-school/ezy49ncjj6m8dvz4krr9ok07ir3u3k8oz9.png)
each friend receives is 9 apples.........Answer