.
After manipulations of other tutors, the problem's formulation/description
disappeared, by some mysterious way.
So, I do not know what the original description is - I only may guess about it.
But I see that the answers of the two tutors, @josgarithmetic
and @timofer , are mathematically different and are NOT mathematically compatible each with the other.
Based on my guessing about the original problem's formulation, I think that the solution and
the answer by @timofer is correct, while the answer by @josgarithmetic is wrong.