When we multiply out brackets, everything inside the bracket gets multiplied by whatever is outside the bracket.
Take care with the signs remembering the rules about multiplying negative numbers.
The following examples show how the 3 and the -3 outside the brackets affect the terms inside the brackets.