The weight W kg of a metal bar varies jointly as its length L meters…