For onto, we have to show that for every element in the co-domain set we have a value in the domain set (range = co-domain). Here, $h$ is given as onto and is from $\mathbb{Z}$ to $\mathbb{Z}.$ $f$ is from $\mathbb{Z}^2$ to $\mathbb{Z}$ and is defined as $f(x,y)=h(x)+h(y).$ Since $h$ is onto, we have an inverse image for any value $y$ in $h(y).$ So, by taking $h(x)= 0 \implies x = h^{-1}(0),$ we get $f(x,y) = 0 + h(y).$ This will cover the entire $\mathbb{Z}$ and so, $f$ is onto.
$f$ is not one-one as $f(2,4)$ and $f(4,2)$ have the same value.