The machine was used in a cave near the seashore where it is
The machine was used in a cave near the seashore where it is said pirates used to hide gold. The machine was used =这机器用在 这句话改成这样可以吗?in a cave where it is said pirates used to hide gold near the seashore (这个是be used to 习惯于做某事 不是be used to doing吗 为什么这个没有doing呢 )