How to get Average Values at the last row in a table

Hello guys,

I am trying to get average values for each column at the last row like the following:

Please guide me to make it step by step!

Thank you.