22.0 is the same as saying that in 100 grams of a chocolate bar, there are 22.0 grams of pecans. or to make it easier because of this problem- 100 Kilograms of a chocolate bar, there is 22.0 Kg of pecans. we can use this as a conversion factor (what is used to convert a value to another value.
conversion factor---> 22.0 kg of pecan= 100 kg of chocolate bar
Note: remember this, what you are converting from goes in the denominator, what you converting to goes in the numerator.
5.0 Kg of pecan (100 Kg of chocolate bar/ 22.0 Kg of pecan)= 23 Kg of chocolate bar