24 is divided into two parts such that 7 times the first part added to 5 times the second part makes 146 .