A man buysx cans of bebeer at 30p each and (x+4) cans of lager at 35p each. The A man buysx cans of bebeer at 30p each and (x+4) cans of lager at 35p each. The total cost was £3.35. Find xx.