From SECOND equation, you should calculate the time needed to cover 340 feet horizontally at the horizontal rate of 103.9 ft/s. Having it, you should substitute this time value into FIRST equation and CHECK, if the corresponding height is greater than 10 feet.