How to write Vector calculus

I tried to use LaTeX to write some math problems but all it did was write a couple of letters and squares in between


How do I do it or is this feature not available
This is what the equations should look like

To clarify I copy pasted the original pdf