Jacob bought x shirt for 1 shirt at 35,thatisonsalefor40\%offandalsoboughttworedbowtiethatcostsfor1tieis 21. What is the total cost in terms of x?