Answer:
a) tube A's length is half the wavelength
b) tube B's length is three fourth of the wavelenght.
Explanation: for a pipe with both ends open, antinodes form at both ends and a node forms in the midpoint of the tube.
For a pipe with one end open, a node forms at the closed end and an antinode at the Open end.