How can I make Google Sheets analyze and automatically calculate the text that follows a certain pattern?

I have the following sheet:

I would like to calculate the "Total Work" deriving it from my own notation. When I do 6 sets of 10 repetitions of benchpress at 200lbs, I want to write and see 6x10x200, but then, in addition, see a calculation of "total work" that recognizes the pattern NUMxNUMxNUMor NUMxNUMxNUM, NUMxNUMxNUM

If this problem became much easier to solve with some adjustments to my notation, for example, NUM * NUM * NUM, this would work perfectly fine