You can multiply $160 by 2 because 16 is 8 * 2. 16 pastries would then be $320.
Or, you can divide $160 by 8, to get the price per pastry. You would get $20 per pastry, and multiply it by 16, which equals $320
(You would get the same answer either way)