y would equal 72
Reason-
If X represents the total amount of octagons, and Y represents the total sides of all octagons (an octagon has 8 sides). So, if you take the total amount of octagons (9) and counted the sides of ALL of them you'll get 72. Another way is to multiply 9 * 8 = 72