Emily mixed together 9 gal. of Brand A fruit drink and 8 gal. of Brand B fruit drink which contains 48% fruit juice. Find the percent of fruit juice in Brand A if the mixture contained 30% fruit juice.

I know how to solve the equation, it's just setting it up that confuses me.