Exercise 18 says:

to solve this we do substract 12 from 4, because both digits have different signs, like this

Th sign of the result is the sign of the larger number
For exercice 19, we have

we subtract 12 from 12, we get zero, that is:

the same is done for exercices 20, 21, 22, 23, 24 and 25
For exercice 27 we have

To do this exercice, we will first multiply the numerator and denominator of the left fraction by a number in such a way that each denominator are the same, in this case we will multiply by 2/2, like this:


Since the denominators are the same, for the result we puit the same denominator and perform the operation for the numerator, like this:

To solve the operation in the numerator, we will substract and the result should have the sign of the larger number

The same way is done for exercices 28 and 29, having into account that denominators must be the same and if they are not the same, then we multiply and divide one of the franctios for a numbers in such a way that they become the same.