A certain drug is made from only two ingredients: compound A and compound B. There are 4 millimeters of compound A used for every 7 millimeters of compound B. If a chemist uses 546 millimeters of compound B, how many millimeters of the drug will be made?