The ratio of nitrogen to potassium in a sample of soil is 12 : 9. The sample has 36 units of nitrogen. How much potassium does the sample have?