The figure above represents a frictionless pulley system in which a weight W is in…