Which part do you not understand? If it is the whole thing, I suggest you do some revision before asking for additional help.
Can be seen here: http://i49.tinypic.com/r9r1w8.jpg
(not much bigger!)
Both questions seem related to 2nd diagram...
Why anybody calls a geometry problem a "story problem" is beyond me !