Solving double squares