Sorry if my question is quite silly, but my math imagination isn’t my best skill. I want to increase number when another is decreasing. I mean one float will increase its value while another will be decreasing. I don’t have idea how to do that I’ve started experimenting with negative values and addition but I need positive value at the end.

Can some one help me with this? Thanks.