David gave money to two of his favorite charities. He gave 20% more money to the Bikes for Tykes Program than to the Library Fund. If David gave $48 to the Bikes for Tykes Program, how much money did he give altogether?

To determine how much money David gave altogether, we need to find out how much he gave to the Library Fund.

We know that David gave 20% more money to the Bikes for Tykes Program than to the Library Fund. This means that the amount he gave to the Library Fund is 100% (the original amount) subtracted by 20% (the extra amount he gave to the Bikes for Tykes Program).

Let's calculate the amount given to the Library Fund:
20% of X = X * 0.2
Amount given to the Bikes for Tykes Program = X + X * 0.2 = X * 1.2 (since he gave 20% more)

Given that David gave $48 to the Bikes for Tykes Program, we can set up the following equation:
X * 1.2 = 48

To solve for X, divide both sides by 1.2:
X = 48 / 1.2 = 40

David gave $40 to the Library Fund.

To find out how much money he gave altogether, we add the amounts given to the Bikes for Tykes Program and the Library Fund:
$48 + $40 = $88

Therefore, David gave a total of $88 altogether.