This is simply a piece-wise addition. You are going from 22.27 to -6.20 in latitude, and from 114.15 to 106.80 in longitude. Do the mathematics, and you get -28.47 degrees of latitude, and -7.35 degrees of longitude.
-28.47 degrees of latitude, and -7.35 degrees of longitude
It's similar because u still with have an answer weather its a decimal or not. And it's different because when your multiplying whole number u will just get whole numbers.
the equation would be x-12=20.
the solution would be x=8.