A certain drug is made out of two compounds only: compound A and compound B. To make this drug, two parts of compound A are used for every three parts of compound B. If a chemist wants to make 315 milliliters of this drug, how many milliliters of compound B are needed?