Move message at the end of calculator input fields

sir,
I have a calculator for retirees at Commutation Calculator.
after the calculations are done at the end below ‘Happy Retirement’ message the details of the calculations are shown for the user.
What I need help with is I want to move the messages shown at #first,#second,#third and #fourth Ids in HTML file to the right of the calculator near where the input fields not below the calculator as shown in pic attached.


What changes are required to be made in HTML/CSS / JS files to achieve that.
thanks