In general the nth term in an AP can be written as $u_{n} = u_{1} + (n-1)d$, where $d$ is the common difference between terms. Let the sum of the AP to $n$ terms be $S_{n}$
We are given that $S_{15} = 100$ and $u_{10} = 5$.
The general formula for the sum of an AP can be derived as follows:
$S_{n} = u_{1} + u_{1} + d + ... + u_{1} + (n-1)d$
$S_{n} = u_{n} + u_{n}-d + ... + u_{n} -(n-1)d$
$2S_{n} = n(u_{1} + u_{n})$
$S_{n} = \frac{n}{2}(u_{1} +u_{n})$
We can now work out $u_{1} + 9d = 5 = u_{10} \Rightarrow u_{1} = 5-9d$
Note that $u_{15} = u_{10} + 5d = 5+5d$
Then we have $S_{15} = \frac{15}{2}(5-9d + 5+ 5d) = 100$
$\frac{40}{3}= 10-4d$
$\Rightarrow d=-\frac{5}{6}$
$\Rightarrow u_{1} = 5-9\cdot (-\frac{5}{6}) = \frac{25}{2}$
$\Rightarrow u_{50} = u_{1} + 49d = \frac{-85}{3}$
$\Rightarrow S_{50} = 25(\frac{25}{2} -\frac{85}{3}) = -\frac{2375}{6}$