find the value of a.

we know the height of the first curve and we know the second curve is at (40,0), we also know their equations. at what point do they meet, so it would form a roller coaster??

the first step is to make the equations equal to each other. AND THE REST I HAVE NO IDEA....