The sum of 4 times joan 's age and 3 times jim 's age is 47 . Jim is 1 year less than twice as old as joan . Find each of their ages .