Answer:
Value of (x-y)^2 is 7.
Explanation:
Given:
Using the following identity:

Let's use this information to calculate:

Expand:


Substitute the value of xy.

Subtract 12 from both sides:


Now, we have x^2 + y^2.
To find (x - y)^2, using the identity:

Substitute the values:

Substitute the value of xy:



