Final answer:
The value of 2xy is 30.
Step-by-step explanation:
To find the value of 2xy, we can use the given equations to solve for x and y first. First, expand (x+y)^2 to get x^2 + 2xy + y^2 = 42. Subtracting the equation (x^2 + y^2) = 12 from this expanded equation, we get 2xy = 30. Therefore, the value of 2xy is 30.