Calculate the mechanical energy of an object that has a potential energy of 5 joules and a kinetic energy of 3 joules