If two actions take place in the past, one after the other the first action will be in the past perfect tense and the second action will be simple past tense.
Formula - Sub + had + V3 + obj.
Of the given options, the only sentence 'You had studied Italian before you moved to Rome.' satisfies the above-mentioned formula.,