Triangle and double square problems