I have been given this question as an assignment 
So far I have made a start solving one of the possible solutions and have made it this far. 
My question may seem simple but am I right so far? If so how do I solve for the constants D and E?
Copyright © 2021 JogjaFile Inc.
You don't have to care about the $T(t)$ part of the solution. The boundary conditions are true for all $t$, so you necessarily have
\begin{array}{rrr} u(0,t) = X(0)T(t) = 0 &\implies & X(0)=0 \\ u_x(1,t) = X'(1)T(t) = 0 &\implies & X'(1) = 0 \end{array}
Since the only way for a function of $t$ to be zero for all $t$ is if it's zero everywhere, $T(t)\equiv 0$, which we don't want.
Now go through the 3 possible options for $X(x)$ and check whether there exists a non-zero pair $(A,B)$ that can satisfy both conditions.
Example: The second option is $X(x) = Ax+B$ which gives
\begin{align} X(0) = B &= 0 \\ X'(1) = A &= 0 \end{align}
Clearly, the only solution is $A=B=0$. Therefore, this can't be a solution.
Note: This solution need not be unique. One of the remaining options will leave you with a free constant. This is fine as long as the solution isn't identically zero.
Spoilers:
1)
3)