Anna spent 14 of her money on a jacket and 5 shirts. The jacket cost 3 times as much as each shirt. Anna spent 45 of her remaining money on a ring. She spent $312.4 more on the ring than on the 5 shirts.
(a) What fraction of Anna's money was spent on each shirt?
(b) How much money did Anna have at first?