Leon is building a square picture frame. The side of the frame is 345 millimeters long. If a meter of wood costs $7, how much will the wood cost?