If y varies directly as the square root of (x + 1) and y =…