the way to do和the way of doing 的区别是什么?

问题描述:

the way to do和the way of doing 的区别是什么?
我看见一道题是这样的:i think one way ( ) the problem is to put glass walls( )the painting.
A.to solve;in front of
B.to solve;in the front of
C.of solving;in front of
D.of solving;in the front of

the way to do sth 是有的
不过the way of doing sth 应该没有,所以这道题应该选A