Karen has 21 green blocks. The ratio of green blocks to the yellow blocks she owns is 3:1. How many blocks does she own?​