I'm very new to piano playing so please forgive me if this is a dumb approach.
I know that you should not use the same finger for succeeding notes, but here is my personal thinking(without having read any books), I'm thinking that whenever I have a chord and there is a note in front of it, I would play that note with a finger setting up the upcoming chord with the least amount of hand movement, so for RH, if I'm playing an A before a C E G chord, I would play the A with my pinky finger I would need the least hand movement to play the C major chord, if I play the A with let's say thumb, I would have to shift the right hand a lot more to the left to play C E G.
So for this case right here, I want to play the D before the final D F# C chord at the end with my pinky, so I would need minimal shifting for the final chord, but there is an E before the D, if I play that with my pinky, I would have to play D with my ring finger, in which case the shift needed is now greater.
So I was wondering if I can do 5 and 5 to setup the final chord in this case?
(update) I have since realized that this was completely dumb, like what if there are 10 of these notes in a row? Just same pinky 10 times? Ya I don't know why I thought that was a good idea ...