Random Sample From a Distribution Help-image.jpg

This one of the problems from my stat review, could anyone help to point me in the right direction, I know i learned this I just cant figure out where to go with it.