How can a potential energy function be used to sketch different levels of the wavefunction?

If the potential energy function is provided, say $V(x) = 5x^{2}$, how am I then able to use this function to visualize, graphically, the wavefunction where $V \neq \infty$?


