For the equation cross multiplication is key. i do recommend you take in the fact it takes 2.3333etc. to make each persons portion
but none the less the quation should look like 7x9=63 then 63/21 which gives you 3.
you could also do 12/9=2.3, then 7/2.3= 3.04 for a more accurate answer