Please find below my code for get data from table

```
    $all_trades = FinalTrade::where('user_id', '=', $user_id)->where('market_id', '=', $market_id)->get();

      $numbers_of_entries = $all_trades->count();
      $l=0;
      foreach ($all_trades as &$value) {
          $value = $all_trades->pluck('buy_rate') * $all_trades->pluck('quantities');
          $l++;
      }

      DD($l);

```

my `$all_trades->pluck('buy_rate')`and `$all_trades->pluck('quantities')` has array result.. how can i multiplying and get array result?

result of `$all_trades->pluck('buy_rate')` in browser.

```
Collection {#1186 ▼
  #items: array:12 [▼
    0 => 2205
    1 => 0
    2 => 50351
    3 => 0
    4 => 40
    5 => 1000
    6 => 500
    7 => 324
    8 => 2342
    9 => 2342
    10 => 234
    11 => 555656
  ]
}

```

actually i am trying to multiply play two row.