.... Ah, I see that Annie was born in Dalkeith and also registered as Annie Forbes Borthwick. Also that Elizabeth Borthwick had married John Deans in Dalkeith in 1865.
If you haven't already got it, you need to go to
www.scotlandspeople.gov.uk and view that marriage certificate. It will confirm the names of her parents and tell you how old she was.
Elizabeth Borthwick or Deans died in Carnock, Fife in 1912, aged 66.
According to the IGI they had three children: Jane Ann Pringle Deans, born 1864 in Dalkeith; John, born Glasgow 1866; Charles, born Glasgow 1872.
In 1871 they were in Maryhill, Glasgow: John Deans, 27 iron miner, born East Lothian; Elizabeth, 26; Jeannie, 6; John, 4; Mary, 3; George, 1.
In 1881 Elizabeth is a widow, living in Dalkeith with Jane, 16; John, 14; George, 11, Charles, 9; Annie Forbes, 1; and grandmother Jane Borthwick, 71. So John must have died between 1871 and 1871 ....
.... sure enough, John Deans, aged 28, died in New Kilpatrick in 1872. His death certificate will tell you how he died.
Noting that Elizabeth parents were George and Jane, that she named her second son George and her eldest daughter Jane, her first son John and her second daughter Mary, there's a good chance that John's parents were John and Mary.
Where does Stonehaven come into it?
If the Forbes in Annie's name was from her father, your best chance of finding out is from the Dalkeith Kirk Session records. These are not available online, but can be consulted in the Scotland's People Centre in Edinburgh or in certain local archives in Scotland.