According to ques,
and
Solving for A,
Hence,
Next, solving for B
Hence,
Hence,
Representing the solution on a number line:
According to ques,
and
Solving for A,
Hence,
Next, solving for B
Hence,
Hence,
Representing the solution on a number line: