Math problem: Mr. Wang made a set of teaching software, which was approved and patented by the Ministry of Education, and the Ministry of Education gave Mr. Wang a certain material reward.

Solution: Let the state reward Mr. Wang be X yuan

, (x-16)*2%=58

then x=58/2%+16

x=36

Answer: The state reward Mr. Wang is 36.