The area under the graph of the probability density function between
and
gives the probability that the outcome is between
and
so the total area under the graph must be 1, in this example for
between 0 and 3.
To find the median we have to
find the value
such that the area under the graph for
is 0.5. You will have to find the roots of a cubic equation (which you should
be able to factorise) in this example and then identify the root which lies
in the required interval.