moving a rectangle in a straight line on pygames is easy. But how do i implement gravity into the rectangle's path? Like instead of a straight path, move in an curved path. Perhaps, the image below will help you understand what i am trying to achieve.

Here is the code to move the rectangle in a straight path to the left.
import pygame
import time
pygame.init()
white = (255,255,255)
black = (0,0,0)
display_width = 800
display_height = 700
gameDisplay = pygame.display.set_mode((display_width,display_height))
clock = pygame.time.Clock()
FPS = 30
x = 300
y = 100
while True:
x -= 10
gameDisplay.fill(white)
pygame.draw.rect(gameDisplay, black, (x, y, 50,50))
pygame.display.update()
clock.tick(FPS)