Greg assembles units of a certain product at a factory . Each day he is paid $2.00 per unit for the first 40 units that he assembles and $2.50 for each additional unit that he assembles that day ,if Greg assembled at least 30 units on each of two days and was paid a total of $180.00 for assembling units on the two days, what is the greatest possible number of units that he could have assembled on one of the two days ?