.
In the post, the problem's formulation is incomplete.
To be complete, it must say that the distribution function is the CUMULATIVE distribution function,
not the density distribution.
Therefore, I must to make this addition to clarify everything.
Also, the given fact that X is "the ratio of sales to profits of some company" is not necessary for the solution of the problem.
It is a typical "noise" to distract an attention of a reader.
To find the desired probability, simply take into account that F(5) = 1,
calculate F(2.5) = = 0.5625 and compute the difference
F(5) - F(2.5) = 1 - 0.5625 = 0.4375.
This number 0.4375 is your ANSWER.
Solved.