Consider the given expression.
4x2+7−(x2y+3−¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯2x2y+2)
=4x2+7−(x2y+3−(−(2x2y+2)))
=4x2+7−(x2y+3+2x2y+2)
=4x2+7−(3x2y+5)
=4x2+7−3x2y−5
=4x2−3x2y+2
Hence, this is the answer.