function translate(transform, dx, dy) {
  return multiply(transform, set(tmp_, 1, 0, 0, 1, dx, dy));
}
Applies translation to the given transform.
@param {!Transform} transform Transform.
@param {number} dx Translation x.
@param {number} dy Translation y.
@return {!Transform} The translated transform.