Here's the answer:
“estudié dos meses en Japón”
Watch a real native speaker say it:
Here's how it sounds in a textbook:
You could also say:
- estudié en Japón dos meses
Fun fact: the hundreds of thousands of people learning Spanish with Memrise get this phrase correct 98.14% of the time!