Which call of the function correctly follows the instructions laid out in the API?
// moves a given element on the screen
// id (string) - the element ID for the item to be moved
// direction (string) - the direction the element should be moved
// amount (number) - the amount of pixels the element should be moved
function moveElement(id, direction, amount) {
var xPosition = getXPosition(id);
var yPosition = getYPosition(id);
if (direction == "left") {
setProperty(id, "x", xPosition - amount);
} else if ((direction == "right")) {
setProperty(id, "x", xPosition + amount);
} else if ((direction == "up")) {
setProperty(id, "y", yPosition - amount);
} else {
setProperty(id, "y", yPosition + amount);
}
}