For these problems, think always to set a constant.

You have a condition which says that the ratio of the lengths of the 2 pieces is 2:3.

So let be such lenghts. (Where is a positive constant.)

But you know that board's lenght is 30 ft, so it means and

The rest follows.