I think you have wrote the starting line of your question incorrectly.. You already have the probability distribution function and you are supposed to find the cumulative distribution function . Looks like you have written the opposite.
please look at how you can find the cumulative distribution function of a random variable . You have to integrate the pdf over ...... region