spend sth on sth 花费某物在某事上 I spent three hours on my homework.
spend wih sb 与某人度过时光 I spent three hours with my brother.