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