A baseball is thrown up in the air. The table shows the heights y (in feet) of the baseball after x seconds. Write an equation for the path of the baseball. Find the height of the baseball after 5 seconds

Time, x 0 2 4 6
Baseball height, y 6 22 22 6