Theory:

Subtraction on number line:
 
The subtraction of integer can be represented using the number line figure. Now let's see how it is.
 
Now we are going to subtract the two number which is \(7\) and \(5\) in a number line.
 
jumps.png
 
We can find this using the following steps:
 
1. Start from \(7\), since \(5\) is being subtracted, so move \(5\) jumps towards the left side of the number line with \(1\) jump of \(1\) unit.
 
2. Then we reach the point \(2\).
 
Therefore we get \(7 – 5 = 2\).
 
Therefore using this method we can do the subtraction in a number line.