The correct response is:
A cools quickly, extrusive.
So the completed sentence would read: "If igneous rock forms above ground after a volcanic eruption, it cools quickly, forming extrusive igneous rock, such as obsidian which is a naturally occurring volcanic glass."