I know that.For example:

I wash a car.In these sentence,subject is "I" and object is "car".
But we will change this sentence to passive sentence,then it forms "A car is washed by me".So in this case,a car is the subject and me is the object now.Is it right?I was tauth by my teacher and she said above those sentence.So I recognized those way.Whose right?I don't understand.

"For example:

I wash a car.In these sentence,subject is 'I' and object is 'car'.
But we will change this sentence to passive sentence,then it forms 'A car is washed by me'.So in this case,a car is the subject and me is the object now.Is it right?"

Yes, what you wrote is correct.
ACTIVE: I wash a car.
PASSIVE: A car is washed by me.

I don't understand this part of what you wrote, though: "I was tauth by my teacher and she said above those sentence."

Please remember this about writing on the computer: Put a space after every comma and period and question mark.