Samsung are South Korean, and they are better in terms of phone expertise, certainly one of the leading Android phone brands. Samsung is higher tech, and better in terms of quality.
Motorola is Chinese, same group as Lenovo. Motorola makes relatively affordable phones that still have decent specs. I would say Motorola is behind Samsung in terms of tech support and quality, but they still make reasonable and very affordable phones.