Can I use memory taken from a Macbook Pro in a Mac Pro?
No, not directly.
The Mac Pro uses full-sized desktop DIMM modules, whereas the Macbook pro uses laptop-sized SO-DIMM modules. These cannot be directly swapped without a passive adapter, which I honestly wouldn't think makes much sense to bother with given how inexpensive 2 GB of RAM is these days for a Mac Pro.