If you wish to wipe the entire drive and create 1.4 TB APFS container followed by JHFS+ partition, then enter the following command.
diskutil partitiondisk disk0 2 gpt apfs MyAPFS 1400G jhfs+ MyJHFS+ R
The EFI partition will be created automatically. If the above command was executed on a 2 TB drive, then result would be the partitioning shown below.
/dev/disk0 (internal, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *2.0 TB disk0
1: EFI EFI 209.7 MB disk0s1
2: Apple_APFS Container disk1 1.4 TB disk0s2
3: Apple_HFS MyJHFS+ 599.7 GB disk0s3
/dev/disk1 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1.4 TB disk1
Physical Store disk0s2
1: APFS Volume MyAPFS 24.6 KB disk1s1