One week John earned three times as much as Alex earned mowing lawns. If they earned $48 altogether,how much did each one earn