The correct response is:
b different types because they formed in different ways.
Explanation: Rock A formed from small pieces of rock (likely a sedimentary rock) whereas Rock B formed from liquid rock (likely an igneous rock). The difference in formation processes (sedimentary vs. igneous) indicates that they are different types of rock despite having formed at about the same time.