Multi-choice problem: does word "trim" have the same meaning in the following two sentences?

Trim lumber.

Trim an airplane.

Pick from: A). different meanings B). the same meaning
A).