The horizontal distance the ball traveled is not important for this problem, since we're only interested in the vertical position of the ball.
The formula for the position of an object in projectile motion (eg. under constant acceleration from gravity) is
\(\displaystyle x_t = x_0 + tv_0 + \frac{1}{2}t^2a\)
In this case, we have the following information:
\(\displaystyle x_0 = 3.5\)
\(\displaystyle x_4 = 0\)
\(\displaystyle a = g = -32\) (rounded off for ease of calculation)
By evaluating the position equation at t = 4, you can find \(\displaystyle v_0\). Remember that this is the vertical velocity, not the horizontal velocity.
With \(\displaystyle v_0\), you have enough information to make a parabolic equation, which you can use to get the maximum height in several ways. Please let us know if you need help from here.