Hi,
the space is just 'hidden' under the raid definition. As indicated, you have got a RAID array builted based on the smaller space available.
What is you current real request :
- have SME on the 36GB with the 9GB as an extra strorage device ?

I have no (quick and simple )idea to perform this operation without reinstallation - and unless you have real constraint, I would not recommend it.
- keep SME on the single 9GB disk with the 40GB as an extra storage device?
in this case I would see the operation that way :
- remove the 36GB disk from the raid device
mdadm --manage /dev/md2 --fail /dev/hda2
mdadm --manage /dev/md2 --remove /dev/hda2
mdadm --manage /dev/md1 --fail /dev/hda1
mdadm --manage /dev/md1 --remove /dev/hda1
- reinitialize your hda drive (fdisk remove partition + create partition + mkfs)
- create mount point
- mount new partition on this place
(the extra storage on another disk has already been discussed recently)

I did not test the above command on a live system - check the command

If you have the opportunity, reboot the server to be sure, I did not miss any part in teh RAID config, and it won't try to reassemble the RAID array.
G.