The first one with the red berries is mountain ash. The second, yellow flowers, is Solidago or goldenrod, probably Solidago canadensis.