PLEASE ANSWER THIS QUICKLY BUT ALSO PLEASE GIVE ME THE RIGHT ANSWER. WHOEVER ANSWERS THE FASTEST GETS A BRAINLIEST!!!!!!!!

A carpenter has boards of lengths 24, 36, and 42 inches that must be cut into smaller boards of equal length, with no scrap wood left over.


What is the longest length of boards he can cut?


A. 2 inches

B.6 inches