I want to make a daily budget calculator widget

I’m new to this. Can you someone give me a guide on how to do this? Thanks in advance and much appreciated.

With what I am trying to do is to be able to edit it as well, i.e. changing the amount from the initial value, changing the days left.