This is the relevant part of the question:
$\sum_{y=0}^3 (x^2)$
I know the answer is $4x^2$ but I'm not certain why that is.
I'm assuming that it is because there are four elements (i.e. 0,1,2 & 3) but I don't see why that would result in a value of $4x^2$.
If you assumed the summation to be over $0y.x^2$ then the answer would be zero.
Any clarification in this would be appreciated!
In general you have:
$$\sum_{y=a}^bf(y)=f(a)+f(a+1)+f(a+2)+\cdots+f(b-2)+f(b-1)+f(b)$$
In your sum there are four terms for $y\in\{0,1,2,3\}$ and $f(y)=x^2$ is a constant so you get:
$$\sum_{y=0}^{3}x^2=x^2+x^2+x^2+x^2=4x^2$$