How do i convert the file to .x file?

how do i convert the file to .x file?