Another way to say "You can use a pen to write something" is "A pen can be used to write something."