Your doctor is treating you as a T2 ( metabolic syndrome) Ramipril is for blood pressure and Metformin for insulin resistance.
If the treatment is working, ( which you will only know from Blood glucose testing. You can be pretty sure you are aT2.It wouldn't work for T1. In fact that's one way in which T1 is sometimes discovered. people are assumed to be T2 anrd the treatment fails, so Treatment for T1 is eventually started.
Surprisingly to many people, T2 is more strongly familial than T1. I am third in direct line and possibly fourth.