You can translate a shape horizontally and vertically at the same time, which will cause the shape to move to a different x and y position. You do this using a vector with both x and y values.
In this diagram, you can translate the shape by:
- the vector (-7, 2), moving the shape left by 7 units and up by 2.
- the vector (1, -5), moving the shape right by 1 unit and down by 5.