Tekstiviesti: The formation of subdwarf B stars