There are only 60 minutes of arc (') in one degree!
Similarly there are only 60 seconds (") of arc in one minute of arc!
You are trying to find the difference so, as you correctly say, if they are in the same hemisphere subtract the lesser from the greater and if they are in different hemispheres add the two together!
HWB