For every bar of soap that Ali sells, she earns $5. For every mug that Janet sells, she earns twice as much as Ali. This means that the amount that Janet earns for each mug she sells is 5 × 2 = $10
Ali sells 5 bars of soap. This means that the total amount that Ali earned is 5 × 5 = $25
Janet sells 7 mugs. This means that the total amount that Janet earned is 7 × 10 = $70
Therefore, the amount that they earned altogether is