The equation of a wave traveling along the positive x-direction is given by; y =…