Answer
$-x+5xy$
Work Step by Step
To simplify the expression in the question, we group together the similar terms and then perform addition/subtraction:
$3x-2xy-4x+7xy$
=$3x-4x-2xy+7xy$
=$(3x-4x)+(-2xy+7xy)$
=$(-x)+(5xy)$
=$-x+5xy$