A basalt forms under which of the following conditions?

An intermediate lava cooling at earth's surface.

A mafic lava cooling at earth's surface.

A silicic magma cooling deep underground.

A silicic lava cooling at earth's surface.

A mafic magma cooling deep underground.