Moving an instance to "up" or "right"

Hi, i’m moving an instance and when a button is pressed it moves to its X (Right ) and Y (down)

for example to the right " myinstance._x -=5;"

but how do i move to “right” and “up”