If petrol is 65/- per liter, then it is the same as saying that for 1/- you will get 1/65 liters of petrol. For $x$/- you will get $x \times 1/65$ liters of petrol. So $30 \times 1/65 + 70\times 1/65 = 100 \times 1/65$ which is 100/- worth of petrol.
The above method is valid for any rate for petrol: for example, if petrol is 70/- per liter, replace 65 with 70 everywhere. In fact, it is valid for any sort of item: for example, if one car is for 100/-, then 1000/- of cars is the same as 600/- of cars plus 400/- of cars.
Money is defined as a unit of value, which means that even though you can't add apples and oranges, you can add 10/- of apples and 20/- of oranges to get 30/- of fruits in total. The same works for your question.