First we must consider what this intuitively means. Let's say I have 10 chocolates, and 5 friends, and I want to distribute my chocolates evenly to each friend. Well, division provides us a clean and efficient method as to the number of chocolates each friend receives. More so, units are applied as to simply give meaning to the question, chocolates/friend implies I am giving some $constant$ real amount of chocolate to $each$ friend.
More mathematically, we can compute this by dividing the number of chocolates by the amount of friends, that is $\frac {10 \ chocolates}{2 \ friends}=\frac{5 \ chocolates}{1 friend}$. As you can see, the given units, chocolates and friends respectively, are in their own sense algebraic, as they obey the fundamental axioms/properties of math. For example, the division of units, follows analogously to the division of numbers, but without a numerical result.
In regards to your specific question, $\frac {6 \ chocolates}{2friends} = \frac 62(\frac {chocolates}{friends})=\frac {3 \ chocolates}{1 \ friends}$.
As explained above, units and numbers act analogously with eachother, yet don't effect one another when preforming computation. Therefore, the final result should be thought of as: you are giving 3 of your 6 chocolates, to $one$ friend $each$.