There are white, blue, and red boats in a marina. Two-thirds of the boats in the marina are white,
5/8
of the remaining boats are blue, and the rest are red. If there are 6 red boats, how many boats are in the marina?
\(\frac{2}{3}\times m=w\)
\(\frac{5}{8}\times \frac{1}{3}\times m=\frac{5}{24}\times m=b\)
\(m(1-\frac{2}{3}-\frac{5}{24})=6\) => \(\frac{1}{8}\times m=6\) => \(m=48\)