I believe so, yeah. It looks like the Robert Graham mentioned is the son of John Graham, Viscount of Dundee. A very interesting set of family lines.
Mary Hill and Robert Graham had a daughter who married into the Dunlop family. Their descendants are the same Dunlops behind the temperance movement in Glasgow and the world famous Dunlop tyres.