The profit of a business is divided between A and B in the ratio 5:4. If contributions of A and B