To solve the problem it is necessary to apply the concepts related to wavelength.
By definition we know that the wavelength is expressed as

Where,
v= velocity
f = frequenciy
On the other hand we have that the distance when there is vibration can be calculated as

Where n is an integer for standing wave pattern, or harmonic, number.
Part A ) The distance between the two objects is basically


The velocity is




On the one hand the the distance for the no vibration is



Replacing the value for x,



On the other hand the minimum distance is:


Re-arrange to x

For positive x, the value of n is



Therefore the required distance is 0.5m
PART B) The maximum vibration, the distance is


For the minimum distance, n is maximum, therefore


Therefore the required minimum distance is 1m.