The 3 is correctly distributed so that it is used to multiply the 9 and the 6 separately.