>>Sam can type 5 pages in 10 minutes,<<
Therefore Sam's typing rate is 5 pages per 10 minutes, or
which is 
,
or 
,
>>Tom can type 10 pages in 5 minutes,<<
Therefore Tom's typing rate is 10 pages per 5 minutes, or
which is 
,
or 2
.
>>together how many pages can they type in 30 minutes.<<
That says:
Together, they can type x pages in 30 minutes.
Therefore their combined typing rate is x pages per 30 minutes, or
or 
,
The equation comes from
+
=
+ 2 =
Multiply through by LCD = 30
15 + 60 = x
75 = x
So together they can type 30 pages in 75 minutes or 1 hour 15 minutes.
Edwin