either rm(x) or rm("x") ought to be acceptable answers. I was having strange errors when the only answer was rm(x).
no matter how I fuss with this question/answer, I still get this error message (and forced quit of swirl) in testing:

> rm("x")

Error in get(nm, globalenv()) : object 'x' not found

Even though x is in the workspace.