Define a function CoordTransform() that transforms its first two input parameters xVal and yVal into two output parameters xValNew and yValNew. The function returns void. The transformation is new = (old + 1) * 2. Ex: If xVal = 3 and yVal = 4, then xValNew is 8 and yValNew is 10.
In his case in the function parameters it is saying the t the variable "xValueNwe" and "yValueNew" are being passed by reference. That means tat any change to these variables will be reflected in main. It gives you the ability to pass and use a variable passed to a function and make changes to it that are reflected back in the calling location. That is why the "cout" statement in main shows the changes.
You will notice that the first two parameters do not have the "&". These variables are being passed by value. You can also think of these variables as copies of the original variable or number passed from main. You can make changes to these copies, but they are only local variables and lost when the function ends.