Work and energy are both measured in Joules. Look at the equations for work, kinetic energy, and potential energy, and the definition of the Joule. Think how
the units for the variables in each equation combine to the same result when expressed in units of kilograms, meters and seconds. How do the units for work and kinetic energy compare to the definition of the Joule?