The difference in ratio parts is \(5-3=2\). This difference of \(2\) parts corresponds to \(\$12,000\). Therefore, \(1\) part is worth \(\$12,000 \div 2 = \$6,000\). The total number of parts is \(5+3=8\). The total profit is \(8 \times \$6,000 = \$48,000\).