Here are some information on Mazda clutch layout, not Mazda 5 but close enough to be of help:
http://www.thaimazda3.com/svmanual/esicont/en/srvc/html/B3E051041030W02.html
http://www.mellens.net/mazda/Mazda-Miata-2006-2007/clutch.pdf
BTW, I managed to replace the master cylinder, not a pleasant...