Which of the following can occur after a rock is weathered?

It forms metamorphic rock.

It melts and forms igneous rock.

The sediment can form magma.

It gets compacted and forms sedimentary rock.