Money spent on gas = A (Dollars)

Night Time Unit rate = B (cents/KwH)

Day Time Unit Rate = C (cents/KwH)

The night time unit rate B is expressed as a % Y of the total Kwh for the money spent A

I need to know the number of KwH for B and C

For Clarity below I have shown an example of the reverse calculation

Total KwH (Z) 4702

Y% 55

Night Time KwH 2586.1 (Z*Y/100)

Night Time Unit Rate (B) 4.5

Night Time Money 116.3745 ((B/100)*(Z*Y/100))

Day Time KwH 2115.9 (Z*(100-Y)/100)

Day Time Unit Rate (C) 11.87

Day Time Money 251.15733 ((C/100)*(Z*(100-Y)/100))

This is a KwH to Money Conversion

I have been trying for a week now to come up with a formula for Money to KwH conversion

Thanks in advance for any help provided