I think you are asking to change this sentence in passive form.Here it is -------
A new car was purchased by William.