 He attended school in Kelso after which he moved to Edinburg to attend the University of Edinburgh where he studied mathematics and surveying.Upon finishing school, he moved in 1838 to London for three months, then to Southampton where he completed his studies.Peter's older brother Alexander (Alec) had moved immigrated to America in 1835 where he married and convinced Peter to also immigrate.