http://img140.imageshack.us/img140/3880/54568882sy1.jpg
^ Here's the 24 one... (it asked for the perimeter of the whole shape... so 3*8=24.) Do NOT comment on my MS Paint skills.
The other slope problem had to do with coordinate geometry... and I don't remember the EXACT numbers. Sorry.