In need of a VBA Script written to replicate a fairly simple calculation that solver does

Job ID: 30817967

Budget: $30 – $250 USD

In need of a VBA Script written to replicate a fairly simple calculation done by solver so then it can be added to a button for website visitors to utilize. The process by solver is posted in the files section