I always have to play around with such dimensions ... and I built the "underground garage", added the entrance to the granny flat, and then simply built a house with some slanted walls to show what I think is the maximum amount of space possible on the plot with the given data.
I don't see a granny flat as sensible there ... there is just enough space for 1 window.
The driveway will be steep and actually the straight area in front of the garage should be more than the approx. 2 m that I have drawn now.
Without interior walls, about 48 sqm of space per floor. That means ground floor, upper floor, and attic with a knee wall height of currently 160 cm and a roof pitch of 22° have been drawn.
It is not yet taken into account that with such a driveway the neighbor's plot must be supported, which also takes up space again.