I was trying to remove python3 and reinstall it, but didn't had an idea about purge, so accidentally purged it. Now terminal, software center, and important library are missing.
I am aware of the solution:
Removed Python 3 and now Ubuntu Software Center, terminal and other applications don't work
and
but none of them seem to work. Installing most packages require python3 dependency which is not met and I am prompted to execute apt-get -f install
for which i get

I am using Xterm as substitute of terminal.
Please help to restore.