Infinitives can act in three different ways: as nouns, as adjectives, and as adverbs. Since they are so enormously flexible, it takes some practice to recognize how they are being used. Your sentence contains FOUR infinitive phrases. Making things even more complicated, these phrases are nestled one inside another so that understanding the sentence requires that you unpeel it like an onion.
Let's give names to these phrases to make the discussion easier:
A = "to clean the pieces of silver" (adverbial phrase that modifies the verb "do")
B = "(to) find out exactly what they are" (adverbial phrase that modifies the verb "do")
C = "to do A and B" (adverbial phrase that modifies the adjective "able")
D = "to see what the people at the museum were able C" (noun phrase)
D merely tells you the meaning of "it". In fact, you can eliminate the word "it" and rewrite the whole sentence by moving the noun phrase to the beginning:
"D was really exciting."
To see that A and B act as adverbs that modify "do", substitute more obvious adverbs like "enthusiastically" and "cheerfully":
"...what they were able to do enthusiastically and cheerfully"
Finally, let's look at "to do". It is an adverb that modifies the adjective "able". The adjective "able" describes the noun "people". They were "able people". The adverb "to do" tells you in what way, or how, they were able. Let's look at a simpler example:
"The birds were able" ("able" is an adjective describing "birds")
"The birds were able to fly" (the adverbial infinitive "to fly" tells HOW they were "able")
"the birds were able to fly home" ("home" is an adverb that further modifies "to fly" by answering a WHERE question)