Another way to say "a vacuum cleaner is used to clean carpet" is "carpets are cleaned with a vaccuum cleaner."