I am integrating my system with a third party API. The integration is more or less done, but I am having a little problem parsing a section of the response. In response, they send me a string, something like the following:

```
EXECUTED @ 9.1539(3.0) was PARTIALLY FILLED @ 9.1531(3.0)
EXECUTED @ 9.1539(3.0)
PARTIALLY FILLED @ 9.16(5.5)

```

Now, I need to parse these responses to get a calculated result as follows:

For: `EXECUTED @ 9.1539(3.0) was PARTIALLY FILLED @ 9.1531(3.5)`

I need to calculate `(9.1539*3.0 + 9.1531*3.5)`

For: `EXECUTED @ 9.1539(3.0)`

I need to calculate `9.1539*3.0`

For: `PARTIALLY FILLED @ 9.16(5.5)`

I need to calculate `9.16*5.5`

I would've posted some code, but I can't figure out where to get started. Some help would be appricated.