True, the roots are no given, but you can compute them...we should begin by equating the given quadratic to zero:
$$2x^2+5x–k=0$$
Using the quadratic formula, we find the roots to be:
$$x=\frac{-5\pm\sqrt{5^2-4(2)(-k)}}{2(2)}=\frac{-5\pm\sqrt{25+8k}}{4}$$
Now, if the roots are to differ by 2, then take the larger root, subtract the smaller, and set that difference equal to 2:
$$\frac{-5+\sqrt{25+8k}}{4}-\frac{-5-\sqrt{25+8k}}{4}=2$$
Now solve this for $k$...
Another approach would be to write:
$$2x^2+5x–k=2(x-(r+2))(x-r)=2x^2-4(r+1)x+2r(r+ 2)$$
Equating coefficients, we obtain:
$$-4(r+1)=5$$
$$k=-2r(r+ 2)$$
Solve the first to get $r$, and then use that value of $r$ in the second to determine $k$. :D