You can put this solution on YOUR website! Since the "profit made from the sale of tiles is found by subtracting the costs from the revenue", this means the profit is:
Now plug in (the revenue equation we found earlier) and (the cost equation we found earlier)