Substitute 42 for A and 7 for b:

Multiply both sides by 2:

Divide both sides by 7: