log2(x):=log(x)/log(2);

f(x):=log2(x+1)^2=1;

solution:solve(f(x),x);

a:second(first(solution));

b:second(second(solution));

[a,first(f(a))];

[b,first(f(b))];

ˆ