You have the launch velocity (Vlaunch = 11 m/s) and the launch trajectory (20 degrees above horizontal). Now you need to derive the following:
Vertical velocity component (Vvert, in m/s):
Vvert = Vlaunch x SIN(20 degrees)
--------------------------------------------------------
Vertical rise time (Vrt, in seconds):
Vrt = Vvert / (9.8 m/s^2)
---------------------------------------------------------
Vertical height achieved (Vh, in meters):
Vh = ½ (9.8 m/s^2) time^2
---------------------------------------------------------
Horizontal velocity component (Vhor, in m/s):
Vhor = Vlaunch x COS(20 degrees)
---------------------------------------------------------
Horizontal distance = Vhor x 2Vrt
Technically speaking, you’re scenario is missing one initial factor; that being the height in which the javelin is actually being released from, as that adds to the rise and fall time thereby yielding just slightly greater distance in both the horizontal and vertical. However, this aspect is simply overlooked in many cases for such low initial launch heights (the javelin potentially being released from a height of only 4.5 to 6 feet). The fact that you weren’t given the javelin’s release height means it’s likely not an issue, but it’s good to realize it actually is a consideration in yielding the greatest calculated accuracy.