Find the integral of sqrt(x)|2-x| dx from 1 to 4.

What do I do with the absolute value? Is it true that I separate it from integral of sqrt(x)(2-x) from 1 to 2 + integral of sqrt(x)(x-2) from 2 to 4?

If that is true, why does the 2-x change into x-2 for the 2nd part of the integral?

Thanks