A little more....
Is this John and Mary in 1871:
John Ritchie 61 labourer b. Perth
Mary Ritchie 60 b. Methven,
William Ritchie 1, cousin b. Dundee
Address: Dunning Road North Dumbuils, Forgandenny
I think young William is their grandson, born to likely daughter Helen -
https://familysearch.org/pal:/MM9.1.1/XYT6-TY1William shows with the Breckenridge family in 1891:
Robert Breckenridge 30, General Dealer or Hawker b. Portsmouth England
Sophia Breckenridge 38 b. Forgandenny, Perths...I think this is Helen, mistranscribed on index. The original would with this.
Sophia Breckenridge 4, daughter b. Edinburgh
William Ritchie 22 boarder, Cellarman (Wine Store), b. Dundee...possible for Helen's son.
Address: 62 Fountainbridge, Edinburgh
There is a death showing in Perthshire for a Helen Breckenridge/Ritchie in 1901 that is likely connected.
Just trying to provide some more substance to those entries in the Midlothian area and the Ritchies showing there....given what Jane put down on her marriage entry!
Monica