When your basis set is not on G16, you need to write the "gen" keyword on your command line instead of the basis set. Then you write the coordinates and finally, you put the info of the basis set for every atom involved. The info for every atom must be separated with four asterisks.
I will show you the format that you should follow along