I am afraid your structures contain typos. And the formula of 1 seems to be also bad.
Compound 1: aminophyl is assumed to be aminophenyl; because oxazoline contains 1 N and aminophenyl another N the formula is also bad! So, the correct name might be (4R)-2-(2-aminophenyl)-4-phenyloxazoline, formula: C15H14N2O, formula weight: 238.284
Compound 2: acetal might be wrong and acetyl is assumed, the "2-dihydro" might also not correct, 1,2-dihydro? So, the correct name is 5-acetyl-6-methyl-2-oxo-4-phenyl-1,2-dihydropyridine-3-carbonitrile, formula: C15H12N2O2, formula weight: 252.268
Next time, please, be more careful with copy/paste!