Dynamics of a linear system with time-dependent mass and a coupled light mass with non-smooth potential