A rocket was launched from the ground and reached its maximum height of 36 feet at
a distance of 12 feet from where it was launched.

Write a function to model scenerio