Cheesy dauphinoise and onion pie

Serves 10prep 1 hr 45 minstotal time