It doesn't matter if they flash together.
I just need the number of flashes between pauses from each of them.
If you've got it right, you are getting error code E51
E51 is a motor circuit failure.
This is either a faulty motor, faulty control board, or both.
It's worth checking the carbon brushes in the motor though, just in case (although this normally generates E52).
If the carbon brushes are ok, check the wiring between the motor and control board.
If this checks ok too, I'm afraid you are looking at a costly repair for either a motor or control board and if both are required, an extremely expensive repair.
Check it out, see what you find and get back to me if you need more help.
Let me know what you find as there are options regarding repair of the machine, especially if you cannot do the work yourself.
Hope this helps