Clearly you have absolute advantage in both things.
Friend has comparative advantage in typing.
Friend gives up less outlined articles to type one page, so Friend has comparative advantage in typing. Conversely, you have comparative advantage in outlining articles. You give up less typed articles than your friend, so you have comparative advantage in outlining. For Maryanne to pick an extra quart of berries, she gives up 1 fish. For Gilligan to pick an extra quart of berries, he gives up 2 fish.