Another way (probably better) way is to use the method of characteristic for non-linear first order PDE. We have:
$$ds = \frac{dx}{F_p} = \frac{dt}{F_t} = \frac{du}{pF_p + pF_p} = \frac{-dp}{F_x + pF_u} = \frac{-dq}{F_t + qF_u}$$
where $p = u_x$ and $q= u_y$
For our equation we obtain the following relations:
$$ds = \frac{dx}{2p} = \frac{dt}{1} = \frac{du}{2p^2+q} = \frac{-dp}{0} = \frac{dq}{1}$$
From this we obtain that $p = C_1$ is a constant and also $dq = dt \implies q=t+C_2$. Plugging into the PDE we obtain the relation $\boxed{C_2 = -C_1^2}$. Now as $q$ depends only on $t$ and $p$ only on $x$ we can integrate the following
$$du = pdx + qdt = C_1dx + (t-C_2^2)dt $$
$$\implies u = C_1x + \frac{t^2}{2} - C_1^2t + D$$
This gives you the complete integral of the PDE. Plugging in the initial values we have that $0 = C_1x + D \implies C_1 = D =0$, which yields the aprticular solution $u(x,t) = \frac{t^2}{2}$