"They were both intended to stop the spread of communism in Europe" is the best option, since the Truman Doctrine stated that the US would give aid to any countries be threatened by communism, and the Marshall Plan aimed to give funds to war-torn countries after WWII.