Step by step solution :Step-1 : 0 - 7
Here 0 `<` 7, we take borrow from 3
So 3 becomes 2 and 0 becomes 0+8=8
`=8-7`
`=1_8`
Step-2 : 2 - 7
Here 2 `<` 7, we take borrow from 4
So 4 becomes 3 and 2 becomes 2+8=10
`=10-7`
`=3_8`
Step-3 : 3 - 0
Here 3 `>` 0, so directly subtract it
`=3-0`
`=3_8`
Step-4 : 5 - 4
Here 5 `>` 4, so directly subtract it
`=5-4`
`=1_8`
Step-5 : 2 - 0
Here 2 `>` 0, so directly subtract it
`=2-0`
`=2_8`