The grammatically correct sentence is:
La muchacha es bonita.
This translates to "The girl is pretty" in English. The other sentence, "La bonita es muchacha," is not correct in standard usage as it implies "The pretty one is a girl," which sounds awkward and is not a standard way to express the idea.