Molecule 1 represents DNA and molecule 2 represents mRNA.
An mRNA molecule is made (thanks to RNA polymerase) according to the complementary code (with the exception that U replaces the T) of the transcribed DNA strand (template or antisense strand).