The sixth-generation (6G) communication technology is being developed in full swing and is expected to be faster and better than the fifth generation. The precise information transfer directivity and the concentration of signal strength are the key topics of 6G technology. We report the synthetic phase design of rotary doublet Airy beam and triplet Gaussian beam varifocal meta-devices to fully control the terahertz beam's propagation direction and coverage area. The focusing spot can be delivered to arbitrary positions in a two-dimensional plane or a three-dimensional space. The highly concentrated signal can be delivered to a specific position, and the transmission direction can be adjusted freely to enable secure, flexible, and high-directivity 6G communication systems. This technology avoids the high costs associated with extensive use of active components. 6G communication systems, wireless power transfer, zoom imaging, and remote sensing will benefit from large-scale adoption of such a technology.