Hmm, up to 5.1 MySQL can only replicate one master. I don't know about 5.4.
Your diagram seems to suggest you're running db3 on Server 4 and it needs to be replicated to itself?
I would say you need up to 25 instances of MySQL running on Server 4, each instance a slave for one primary db server.
You do not explain what problem you are trying to solve, or why you have chosen this particular design. Therefore I can't offer an alternative, or give advice as to whether it is any good. I can only tell you how to implement it.
EDIT:
By the way, multi master replication means something other than what you describe:
http://dev.mysql.com/doc/refman/5.1/...ti-master.html