Max weight of the crate - the empty crate/ by 35 (the weight of the individual boxes)
850-150=700
700 lbs is the remaining weight available that can be filled with 35 lb boxes, to find out the number of boxes that can be added to the crate, divide 700 by 35.
700/35 = 20
Ernest can put in 20 boxes in the crate.