First look at the total horizontal displacement (from initial to final position)
***not only half the distance***
Since the horizontal velocity is constant you can write the total horizontal displacement as follows:

We now want to modify this equation so that we have the total displacement at the final time. In order to do this, we take advantage of the fact that the time from the initial position to the highest point is equal to the time from the highest point to the final position:

Also, since we know that at the highest point the vertical velocity is equal to zero, we can isolate time from the following equation:


Since vertical velocity at maximum height is equal to zero we can write

But this is only half the time! Therefore, when we substitute this equation into the equation for horizontal displacement, we have to multiply it by 2.
therefore we end up with

In order to continue with this problem, we need to look at
and
in terms of 


We now have


This equation is also given in your text book.
But where does that leave us?
If you remember your identities (or have looked them up)

We can therefore write

Horizontal displacement is therefore a function of gravity (which we cannot change) initial velocity (we want the optimal angle for all magnitudes of initial velocity) and
(we need to find a theta which will maximize horizontal displacement!).
Now, you need to remember that
can vary between values of -1 to values of 1.
To answer question 4
think of what the value of
needs to be in order to maximize horizontal displacement and solve for 