5 The variables \(y\) and \(x\) are related by the differential equation
$$\frac { \mathrm { d } ^ { 2 } y } { \mathrm {~d} x ^ { 2 } } = 2 x \left( \frac { \mathrm {~d} y } { \mathrm {~d} x } \right) ^ { 2 } , \quad - 2 < x < 2 .$$
By writing \(u = \frac { \mathrm { d } y } { \mathrm {~d} x }\), determine \(y\) explicitly in terms of \(x\), given that \(y = \frac { 1 } { 2 }\) and \(\frac { \mathrm { d } y } { \mathrm {~d} x } = \frac { 1 } { 4 }\) when \(x = 0\).