Step 1: In google, type in "Types of Functions". Find a picture that shows 8-10 different types of functions (x, x^2, x^3, 1/x, ln(x), etc....). If you memorize this, you will get A's on tests.
Step 2: Expand your equation f(x)=(x-1)(x-2)^2 by doing something like FOIL method. You should get f(x)=x^3 - 5x^2 + 8x - 4.
Step 3: When we are asked to figure out end behavior, we are thinking about what happens when the values of x go to infinite. Remember that chart in Step 1. Look at the graph for x^3. When we talk about end behavior we really just care about the largest polynomial (x^3) because that denotes the majority of the behavior of the function. For the graph of x^3, as x goes to infinite you see that y goes to infinite. Same with our function (x-1)(x-2)^2. It is a cubic function so it will go to infinite too. Same if we go to negative infinite on x. Our function goes to negative infinite.
Step 4: memorize the end behaviors of all those other graphs. A lot of algebra and algebra 2 have these sort of questions and it will make it a lot easier for you (less time doing homework = more time having fun). Trust me. It will save your life.