VX = sqrt(19*19 + 31*31) = 36.36
Pythagorean Theory.
A rectangle has right angles which means you know that a²+b²=c². In your case, it would be (VY)² + (XY)² = (VX)². You know VY and XY, so plug those in and solve for VX.