There are 12 rabbits in a cage. The ratio of white rabbits to all rabbits is 3:4. How many white rabbits are in a cage?