Cream together margarine, shortening and sugar. Beat eggs and add to creamed mixture. Mix flour and add baking powder. Alternately add milk and flour mixture to creamed mixture. Stir in flavorings. Bake at 325 degrees in a 10 inch tube or baking loaf pan for 1 1/2 hours. When cake is done, cool, remove and glaze.
Glaze - Boil sugar and water until sugar dissolves. Add the flavorings.