X,gY=aa,Ya=ah, n=ga