Well, you're on the right track.
You can't find the molarity of the acid, but you can find the normality. The difference between the two is basically the molarity is moles/L, and the normality is charge/L. For acids like HCl and nitric acid which only have one H+, these two are the same, but H2SO4 is different.
Ok, back on track. You have the number of moles of NaOH that are used. Now, assume a 1:1 ratio. That means you need the same number of moles of acid as you used of base. You have the number of moles of the acid, and the number of grams was given, so you can find the molar masds by dividing one by the other.
When you come across problems like this, it's always helpful to look at the units you want (in this case g/mol), and look at what you're given in the question. That way if you get stuck, you may have something to help you out.