a car wil cost u something like 30 dollars per day, and u need to add fuel
it's better to go by train from tanger to marrakech
for agadir u need to take a bus
for marrakech accomodation i can give u a contact for good accomodation with cheap price if u want