I dont know if you have completed your job yet, but it is important to know all info. about what you are dealing with before beginning. Is the wire copper or aluminum? If it is aluminum you must use a split bolt splice on each wire, pref. with deox or suitable corrosion inhibitor. If so you will notice these are bare connectors, they need to be wrapped in rubber splice tape after being tightened, very firmly. If it is copper wire nuts will suffice, big blues for #6 or #8 ga. wire, and red for 10 ga. Like noted by previous responders note if there is 4 wires in cable red,blk.,wht.,bare. If not, a sufficient ground can be achieved from a plumbing pipe if house is plumbed in copper. This would happen with a bond clamp and some #10 bare copper to the j-box location and romex 10-3 w/grnd from j-box to new dryer location. I am a brand new member tonight hope I have been a help to you.