Combine the flour, baking powder, and salt in a bowl. In a separate bowl mix the margarine, egg whites, whole egg, brown sugar, coconut extract, and vanilla. Slowly stir the flour mixture into the wet mixture until well combined. Stir in the flaked coconut, and pour mixture into the baking pan.