Let $x$ be the rate of work/day of Murat and $y$ the rate of work/day of Mustafa, and $w$ the unknown amount of work, then you can model the given information as:
$$
15 (x + y) = w \\
5(x+y) + 16 x = w
$$
The final equation is
$$
d \, y = w
$$
where $d$ is the sought for number of days.
These are three equations with three unknowns $d$, $x$, $y$ and an unkown workload $w$, which itself does not matter (except it should not be zero).
Substracting the second from the first equation gives
$$
10 (x+y) - 16 x = 0 \iff \\
10 y = 6 x \iff \\
y = (3/5) x
$$
and using this in the first one:
$$
w = 15 x + 15 (3/5) x = 24 x \iff \\
x = w / 24
$$
Which leads to
$$
y = (3/5) (w/24) = (1/40) w
$$
Then using the last equation
$$
d (1/40) w = w \iff \\
d = 40
$$