I am stuck with what is a very easy problem, but prolog isn't my strength - i would appreciate any help - and plz dont post some links you found on google if you do not even know what prolog is

I need to recursively calculate (2*X+Y)^N - the method heading is expbar(R,X,Y,N)
thnx !