If you are looking for the slope of the line it is 6/5 because starting from the origin you rise 6 (go up in this case) and run (go right in this case) 5 from the two points that you were given. The line is also going in an upwards direction so the slope is also positive. If you want to write the slope-intercept form equation you would use the slope intercept formula y=mx+b and plug in your slope (6/5) and your y-intercept, which is just 0 because it is at the origin and you would get y=6/5x or y=6/5x+0.
If a single board measures 1/12 of a meter then it would take 12 boards to make a meter. Since, the stack is 2 meters high. You would multiply 12 and 2 to get 24. There is 24 boards in the stack.