A store provided a discount of 12% on a shirt which was originally sold for $7.77. Calculate the profit on the shirt if the actual cost price of the shirt was $3.45?