<p>There is a related question: find an average number of eggs per cake (based on the same data). In this case you have to know neither number of cakes nor number of eggs - here xiggi’s approach shines.
weighted average = 20/6 = 10/3.</p>
<p>In case you don’t believe me:
1080/(162+108+54) = 1080/324 = 10/3.</p>