Another way to say "You can use a wall to divide a room." is "A wall can be used to divide a room."