A company produces two types of gadgets, and . Each gadget requires hours of assembly and hours of testing. Each gadget requires hours of assembly and hours of testing. The company has hours of assembly and hours of testing available per week. The profit from gadget is Rs , and from gadget is Rs . Determine the total profit if the company uses all available assembly and testing hours.