Step-by-step explanation:
voltage = current × resistance
5.
12 V = 4.2 A × resistance
resistance = 12 V / 4.2 A = 2.857142857... Ohm
FYI :
4.2 A would be a lot for a small electronic device like a CD player. that would be 12×4.2 = 50.4 Watt, and the CD player would get really hot.
6.
120 V = current × 12 Ohm
current = 120 V / 12 Ohm = 10 A