3/10 Bouncy Ball

Help me fix my code! My current sketch shows a ball that moves to the right, and gets sent back to the left of the screen when x reaches 350. Change the sketch so that the ball would bounce back and forth like the example gif.

Next