If TC= 3+Q^2 and demand Is P=3-1÷2Q. Calculate total profit

If TC= 3+Q^2 and demand Is P=3-1÷2Q. Calculate total profit