Answer and Explanation:
The computation of the unit values that used for the products 1 and 2 is shown below
But before that the following formulas are there 
Ceiling 
= Net realizable value = Selling price - predicted dispose cost
 Floor = Net realizable value - Normal profit Margin 
 Market value = Middle of Ceiling, Floor, Replacement cost 
 Now 
Particulars Product#1 Product#2 
Historical cost $8 $19 
Ceiling $19 ($21 -$2) $28 ($33- $5) 
Floor $12.7 $18.1
 [$19 - ($21 × 30%)] [$28 - ($33 × 30%)] 
Replacement cost $12 $12 
Market $12.7 $18.1 
Lower of cost or market $8 $18.1