Two masses hanging from a pulley

Two masses hanging from a pulley