Janet this thing did not have all that many leaves to start with just one stalk with flower and maybe two or three leaves. I have cropped the picture, in it you will see a few mint type leaves which belong to it.
Regards,
Arif.
Thanks Arif, I have cropped your cropped photo even more, altered the lighting and blew it up to a bigger size. I think the tall stems with triangular shaped leaves which are cut at the end is the plant we are looking at and if most likely in the family Apiaceae.
I used the key for Umbelliferae on Flora Pakistan, got to #11 where you need to see the fruits for both options. So I started to go through the Genera from there, got to Pleurospermum and found one in a google with similar leaves so the species you have could be checked out, if none fit then try the other genera below #11.