Gary spent $48 on a watch. He spent 1/3 of the remainder on a pen. If he still had 1/2 of his money left , how much money did he have at first?

please help !