In a competition, x girls got a prize of shs.180,000. ln a similar competition,2x boys also got a prize of shs.180,000. Both the girls and boys shared their prizes equally among themselves. Each boy received shs.9,000 less than each girl. How many boys were in the competition ?