The 30 is correctly distributed so that it is used to multiply the 25 and the 15 separately.