Not sure what you mean by "what attribute gear", but if you mean what I think you mean, the only stats DoH cares about are Control, Craftsmanship, and CP. You don't have a lot of options there, either - a given gear slot pretty much always has the same type of stat. Accessories have CP. Belts have Control. Etc. Gear yourself up in the highest level HQ crafting gear you can equip to improve your chances.

Even then, HQing 40 durability items cannot be guaranteed, even if you have a full suite of cross-class abilities available to you. You are at the stage of crafting where you are intended to actually learn how to craft, how to react to materials conditions and make calculated risks. "I'm low on CP - do I use Steady Hand to guarantee that I finish the synth, even though I'll wind up with only 38% chance of HQ? Or do I take a chance, pop Great Strides, and leaving it up to chance whether that 80% Standard Touch and 90% Basic Touch will succeed or fail?"

For your first few crafts, powerleveling through them is typically not a great idea. It's better to diversify, craft lots of different kinds of items so you get a feel for what it's like to craft above and below your current level, and at different levels of durability and difficulty. Fill out your crafting log if you have to. As a bonus, if you sell what you make you'll make a lot more money than you would getting gil from spamming leves (this is why I'm amused to hear hear newbie crafters whining "It's too expensive to level a craft!" while I would look forward to leveling each new craft as a means to make gobs of money).

Is it slower than leve powerleveling? Of course. But when you get to endgame crafting, you'll be glad for what you learned along the way. Successful endgame crafters may make heavy use of scripted rotations - but they also know how to craft things without using rotations. This is especially important when you consider that for many endgame crafts there are NO rotations that can guarantee HQ results from NQ ingredients. A skilled crafter can still render HQ results from NQ ingredients in spite of this.