Answer
a) Compound
b) Element
Work Step by Step
a) The fact that the bonds between the distinct atoms are in a specific ratio indicates that this is a compound. Because the molecules are unbound, this is a gas.
b) This is an element because the various atom kinds are distinct from one another. While blue is a gas, red is solid.