The solution x=7 is a solution to which of the following equations? Check all that apply

x+54=31
23+x=40
-21=x+(-38)
8=x+1

i think its a and d please tell me if i am right or wrong