yes it is.
step1: take the numbers with the variable and separate them from the ones without a variable
2w+3w+2w-6w+18w-4w= 15w
step2: take the rest of the numbers
10+6+38= 54
step 3: solve the problem after the "and"
15w+54
step4: compare both equations
note: whenever there is a number or variable outside the () make sure you multiply or the answer will be wrong