Hi Dianne,
Thanks for posting, and I would be happy to answer your question!
As long as you using a correctly manufactured USB Type-A to USB Type-C cable, your 5X will charge when connected to one of the docks USB ports. An example of such a cable would be this -> http://amazon.com/dp/B0197WDHF6 This cable is recommended by a Google engineer, who reviewed the cable as well -> https://www.amazon.com/review/R2S2J3E…
Please let us know if that information helps!
Bob