It would have been a good idea, and a big help, to have stated the name of the deceased, place and year of this testament. All of which you must have.
I think his name is 'Baigbie'. It could be 'Bargbie'. No doubt you will know.
I have made a start.
It is a 'testament dative', which means he died without making a will, (a testament testamentar in Scotland), so this is just a Inventory of his goods and gear, and lists of debts owed to him, and by him.
It will contain little genealogical information as such.
This is the start of it - the second image you posted.
The testament dative & Inventar of ye guddis geir
sowmes of money and dettis p(er)tein(in)g to umq(uhi)le Johne
baigbie in dromhillis the tyme of his deceis quha
deciest uponne ye xxday of decembar the zeir of god
Im vc Lxvj zeirs ffaithfullie maid & givin up be
helene baigbie his dothar spous Wm bi?
in dromhillis and m(ar)garet baigbie his dothar &
executors dativs surrogat to yair said unq(uhi)le fathar
in place of ye h........
........
.......
xxiij daye of Jannar The zeir of god Lm vc Lxxxij zeirs
as tenth proportis
In the first ye said unq(uhi)le Johne bargbie had the
guds geir sowmes of mony & dettis ..................
umquhile = late/deceased
quha = who
zeir = year
yair = thair = their
The following page (the first image you posted) starts with:
ffolllows ye dettis awand b(e) ye deid
(follows the debts owing by the deceased)
Then the next paragraph is:
ffollows ye dettis awand to ye deid
(follows the debts owng to the deceased)